﻿namespace ModuleProductDetail.Views
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Windows;
    using System.Windows.Data;
    using System.Windows.Documents;
    using System.Windows.Input;
    using System.Windows.Media;
    using System.Windows.Media.Imaging;
    using Microsoft.Practices.Prism.Events;
    using System.Windows.Navigation;
    using System.Windows.Shapes;
    using System.Windows.Controls;
    using Microsoft.Practices.Unity;
    using ModuleProductDetail.ViewModels;
    using Microsoft.Practices.ServiceLocation;
    using ServerConnection.ShopServiceReference;

    /// <summary>
    /// Interaction logic for ProductDetailView.xaml
    /// </summary>
    public partial class ProductDetailView : UserControl, IProductDetailView
    {
        public ProductDetailView(IProductDetailViewModel ViewModel)
        {
            InitializeComponent();
            DataContext = ViewModel;
            
        }

        public IProductDetailViewModel ViewModel
        {
            get;
            set;
        }
    }
}
